package com.codeplex.tdmg4mc;

import net.minecraft.client.model.ModelBiped;
import net.minecraft.client.model.ModelRenderer;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;

@SideOnly(Side.CLIENT)
public class ModelGear extends ModelBiped
{
    public ModelGear()
    {
        super(0.0f, 0.0f, 64, 64);
        bipedHead.isHidden=true;
        bipedHeadwear.isHidden=true;
        bipedRightArm.isHidden=true;
        bipedLeftArm.isHidden=true;
        bipedEars.isHidden=true;
        bipedCloak.isHidden=true;
        ModelRenderer rightBox=new ModelRenderer(this, 0, 32);
        rightBox.rotateAngleX=(float)(-15.0*Math.PI/180.0);
        rightBox.addBox(-6.0f, 14.0f, -2.0f, 2, 4, 10);
        //rightBox.addBox(-4.0f, 1.0f, -4.0f, 2, 4, 10);
        ModelRenderer rightFuel=new ModelRenderer(this, 0, 48);
        rightFuel.rotateAngleX=(float)(-15.0*Math.PI/180.0);
        rightFuel.addBox(-6.0f, 12.0f, 2.0f, 2, 2, 6);
        //rightFuel.addBox(-4.0f, -1.0f, 0.0f, 2, 2, 6);
        //bipedRightLeg.addChild(rightBox);
        //bipedRightLeg.addChild(rightFuel);
        ModelRenderer leftBox=new ModelRenderer(this, 0, 32);
        leftBox.rotateAngleX=(float)(-15.0*Math.PI/180.0);
        leftBox.mirror=true;
        leftBox.addBox(4.0f, 14.0f, -2.0f, 2, 4, 10);
        //leftBox.addBox(2.0f, 1.0f, -4.0f, 2, 4, 10);
        ModelRenderer leftFuel=new ModelRenderer(this, 0, 48);
        leftFuel.rotateAngleX=(float)(-15.0*Math.PI/180.0);
        leftFuel.mirror=true;
        leftFuel.addBox(4.0f, 12.0f, 2.0f, 2, 2, 6);
        //leftFuel.addBox(2.0f, -1.0f, 0.0f, 2, 2, 6);
        //bipedLeftLeg.addChild(leftBox);
        //bipedLeftLeg.addChild(leftFuel);
        ModelRenderer backBox=new ModelRenderer(this, 32, 48);
        backBox.addBox(-3.0f, 8.0f, 2.0f, 6, 3, 3);
        bipedBody.addChild(rightBox);
        bipedBody.addChild(rightFuel);
        bipedBody.addChild(leftBox);
        bipedBody.addChild(leftFuel);
        bipedBody.addChild(backBox);
    }
}
